/*
 *Create By：Z.B
 *@DATE 2019/3/18 11:03
 *@EMAIL: 2545375@qq.com
 */
'use strict';

const Controller = require('egg').Controller;

class HomeController extends Controller {
  async index() {
    const {ctx, service } = this;
    let hashPwd =await ctx.genHash("123456");
    ctx.helper.success({ctx,res:hashPwd});
  }
}

module.exports = HomeController;